package platform.persistence.config;

import com.mongodb.Mongo;
import org.springframework.data.mongodb.MongoDbFactory;
import org.springframework.data.mongodb.core.MongoTemplate;

/**
 * 自定义MongoTemplate
 *
 * @author roamer
 * @version V1.0
 * @date 2019-02-17 16:12
 */
public class StanderMongoTemplate extends MongoTemplate {

    public StanderMongoTemplate(Mongo mongo, String databaseName) {
        super(mongo, databaseName);
    }

    public StanderMongoTemplate(MongoDbFactory mongoDbFactory) {
        super(mongoDbFactory);
    }
}
